This page last changed on Jan 05, 2009 by dcline.

This presumes the user erika will be processing jobs and has a valid account on EITS.  As the user erika setup the cron daemon.

  1. Starting at Control Panel -> Administrative Tools -> Local Security Policy-> Local Policies -> User Rights Assignment
    Grant rights to the group Administrators for the following items:
    • Adjust memory quotas for a process
    • Create a token object
    • Log on as service
    • Replace process level token
  2. Create a con service for user erika
    cygrunsrv -I cron -p /usr/sbin/cron -a -D -u erika
    

    You will be prompted for your password. Change this to the same password you use to login to EITS.

This cron service should now come up as a service in Windows. Check this by launching services. Starting at Start->Control Panel -> Administrative Tools -> Services, you should see that the service has been entered: 

  1. Open the permission of the cron.log file for all users. This appears to be a bug in the cygwin version of cron.
     chmod a+rwx /var/log/cron.log
    
  2. Next, start the service with:
    cygrunsrv -S cron
    

    If the service doesn't start,  note that only one cron service  is allowed to run under cygin so make sure other cron services are not running.


cron.jpg (image/jpeg)
Document generated by Confluence on Feb 03, 2026 14:51